<#include "header.htm"/>

<script type="text/javascript">

function formReset(){
    document.getElementById('error').innerHTML = '';
}

</script>

<form name="remind" accept-charset="${encoding}" action="${contextPath}/jforum${extension}" method="post" target="_top">
	<input type="hidden" name="module" value="user" />
	<input type="hidden" name="action" value="lostPasswordSend" />

<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<div class="content">
		<h2>${I18n.getMessage("PasswordRecovery.title")}</h2>
		<p>${I18n.getMessage("PasswordRecovery.usage")}</p>

		<fieldset>
		<#if message?exists>
		   <dl><dd class="error" id='error'>${message}</dd></dl>
		</#if>
		<dl>
			<dt><label for="username">${I18n.getMessage("Login.user")}:</label></dt>
			<dd><input class="inputbox narrow" type="text" name="username" id="username" maxlength="40" size="35"s /></dd>
		</dl>
		<dl>
			<dt><label for="email">${I18n.getMessage("User.emailAddress")}:</label></dt>
			<dd><input class="inputbox narrow" type="text" name="email" id="email" size="35" maxlength="40" /></dd>
		</dl>
		<dl>
			<dt>&nbsp;</dt>
			<dd><input type="submit" name="submit" id="submit" class="button1" value="${I18n.getMessage("User.submit")}" tabindex="2" />&nbsp; <input type="reset" value="${I18n.getMessage("User.reset")}" name="reset" class="button2" onclick='formReset()' /></dd>
		</dl>
		
		</fieldset>
	</div>

	<span class="corners-bottom"><span></span></span></div>
</div>
</form>
<#include "bottom.htm"/>